from tkinter import*
tk = Tk()
canvas = Canvas(tk, height=500, width=500, bg="white")
canvas.pack()
canvas.create_polygon(100, 100, 200, 100, 200, 200, 300, 200, 300, 300, 200, 300, 200, 400, 100, 400, 100, 300)

